<?php
$this->headScript()
    ->appendFile('fckeditor/fckeditor.js')
    ;
?>

<?php $this->headScript()->captureStart() ?>
window.onload = function()
{
	var oFCKeditor = new FCKeditor('content');
	oFCKeditor.BasePath = "fckeditor/";
	oFCKeditor.ReplaceTextarea();
}
<?php $this->headScript()->captureEnd(); ?>

<? $this->headTitle('Add article'); ?>
<? $this->placeholder('title')->set('Add article'); ?>

<?php echo $this->form; ?>